package com.seeTools.next.service.sys;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.seeTools.next.api.entity.sys.SysNotice;
import com.seeTools.next.common.core.PageQuery;
import com.seeTools.next.service.BaseService;

import java.util.List;

/**
 * @author seeTools
 * @since 2024-05-19
 */
public interface SysNoticeService extends BaseService<SysNotice> {

    /**
     * 分页查询
     *
     * @param pageQuery 分页数据
     * @return 对象
     */
    Page<SysNotice> findList(PageQuery<SysNotice> pageQuery);


    /**
     * 查询数据
     *
     * @param model
     * @return
     */
    List<SysNotice> selectDataList(SysNotice model);
}
